
<?php
function head(){

echo 
"
<!DOCTYPE html>
<html lang=\"cs\">
<head>
<title>Úkol 8 - Wizzard</title>
<meta charset=\"utf-8\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\">

</head>
<body>
";
}

function ShowMenu(){
echo "<div id=\"menu\">
<ul>
<li><a href=\"../../index.html\">Home</a></li>
</ul>
</div>";

}

function ShowHeader(){
echo "<div id=\"MyHeader\">";
echo "<a href=\"http://fbmi.cvut.cz/\"><img src=\"../../fbmi.jpg\" alt=\"fbmi\"></a>Zápočet";
echo "</div>";
}
function ShowHeaders($text){
echo "<div id=\"MyHeader\">";
echo "<a href=\"http://fbmi.cvut.cz/\"><img src=\"../../fbmi.jpg\" alt=\"fbmi\"></a>".$text;
echo "</div>";
}
function Top(){
head();
ShowHeader();
ShowMenu();
}
function Tops($text){
head();
ShowHeaders($text);
ShowMenu();
}
function Bottom(){
ShowFooter();
echo "</body>";
echo "</html>";
}

function ShowFooter(){
echo "<br><br>";
echo "<Footer>";
echo "HavelVojta@seznam.cz";
echo "</Footer>";
}

?>
